<%@ page contentType="text/html; charset=UTF-8" language="java"  errorPage="" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.cellcom.com.cn/myjsp" prefix="myjsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>按钮管理管理</title>
	<link rel="stylesheet" href="../themes/skyblue/skyblueMain.css" type="text/css" title="styles1" />    
	
	
	<!--请在下面增加js-->
   	<script type="text/javascript" src="../js/mycommon.jquery.js"></script>
	<script type="text/javascript" src="../plugins/datepicker/WdatePicker.js"></script>
	<script type="text/javascript" src='../plugins/jquery-x.x.js'> </script>	
</head>

<body>
	<html:form action="/self/TButtonDpAct?method=list" styleId="TButtonForm">
		<html:hidden property='level' styleId="level"/>
		<html:hidden property="subject" styleId="subject"/>		
		<div id="main">
			<div id="tab-top">
				<div id="lift"></div>
				<div id="pt">按钮管理管理</div>
				<div id="right"></div>
			</div>
			
			<div id="table">
				<div id="ptk"> <div id="tabtop-l"> </div>
				<div id="tabtop-z">修改按钮抬头</div>
				<div id="tabtop-r1"></div></div>
			</div>
		
			<div id="main-tab">
				<div id="info-4">           
					<li>按钮抬头：<input type="text" value="${setting.buttonTag}" id="buttonTag" class='s-input-2'/></li>
					<li style="width:80px"><html:button styleClass="search-2" value="修改" property = "modifyButtonTag" onclick="doModifyButtonTag()"/></li>[设置为空不显示]
				</div>          
			</div>
		
			<div id="table">
				<div id="ptk"> 
					<div id="tabtop-l"> </div>
					<div id="tabtop-z">当前查询结果</div>
					<li><input class='search-2' type='button' value='新增按钮' onClick='window.location="../self/TButtonDpAct.do?method=add"'></li>
					<li><input class='search-2' type='button' value='删除选中' onClick='return deleteSelected("../self/TButtonDpAct.do?method=doDelete")'></li>
					<li></li>					
				</div>					
			</div>
		
			<div id="fh-flie-2"> </div>
			<div id="main-tablist">
				<table width='100%' border='0' cellpadding='0' cellspacing='0' id='showData'>
					<tr id='minpt-tab'>
						<td>选择</td>
						<td>序号</td>
						<td>图片</td>
						<td>链接</td>
						<td>按钮名</td>
						<td>按钮提示</td>
						<td>内部备注</td>
						<td>操作</td>
					</tr>

					<c:forEach var="aRecord" items="${result}">
						<tr class='out' onMouseOver='this.className="over"' onMouseOut='this.className="out"'>
							<td class='zw-txt'><html:checkbox property='ids' value='${aRecord.id}' /></td>
							<td class='zw-txt'>${aRecord.seq}</td>
							<td class='zw-txt'>
								<img src="../file/load.do?method=get&bizType=SETTING&fileName=${aRecord.img}" id="orgHeader" width="45px" height="45px"/>
							</td>
							<td class='zw-txt'>${aRecord.href}</td>
							<td class='zw-txt'>${aRecord.name}</td>
							<td class='zw-txt'>${aRecord.title}</td>
							<td class='zw-txt'>${aRecord.memo}</td>
							<td class='zw-txt'><a href='../self/TButtonDpAct.do?method=modify&id=${aRecord.id} '>修改</a></td>
						</tr>
					</c:forEach>
				</table>
				
				<div id="info-pz"> 
					${link}
				</div>
			</div>
		</div>
	</html:form>
</body>
</html>
